/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 苏李涛
 * Date: 2024-09-29
 * Time: 23:06
 */

//简写单词
import java.util.*;
public class AbbreviatedWord {
    public static void main(String[] args){
        //写法一：

//         Scanner in = new Scanner(System.in);
//         StringBuilder st = new StringBuilder();
//         while(in.hasNext()){
//             char ch = in.next().charAt(0);
//             st.append(ch);
//         }
//         System.out.print(st.toString().toUpperCase());


        //写法二：
        Scanner in = new Scanner(System.in);
        while(in.hasNext()){
            char ch = in.next().charAt(0);
            if(ch >= 'a' && ch <= 'z') System.out.print((char)(ch - 32));
            else System.out.print(ch);
        }
    }
}
